/*
 * Copyright © 2022-now 尛飛俠（Denvie） All rights reserved.
 */

package cn.denvie.springcloud.seata.common.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * Storage实体类。
 *
 * @author Denvie
 * @date 2022/4/8
 * @since 1.0.0
 */
@Data
@TableName("tbl_storage")
public class Storage implements Serializable {
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    @TableField("commodity_code")
    private String commodityCode;

    @TableField("count")
    private Integer count;
}
